package com.yami.shop.vo.group;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class GroupModelSyncVo implements Serializable {

    @NotEmpty(message = "用户所在群组id不能为空")
    @Schema(description = "用户所在群组id",required = true)
    private String id;
    
    @Schema(description = "用户所在群组名称",required = true)
    private String name;

    @NotEmpty(message = "修改人的用户id")
    @Schema(description = "修改人的用户id",required = true)
    private String userId;
    
    @Schema(description = "群头像")
    private String pic;
    
    @Schema(description = "封面图")
    private String coverImg;
    
}
